package com.example.demo.sevice;

import com.example.demo.bean.Department;

import java.util.List;

public interface DepartmentService {
    /*查询*/
    List<Department> department();

    /*插入数据*/
    void insert(String department);

    /*删除数据*/
    void delete(String department);

    /*修改*/
    void update(Department department);
}
